package com.hwua.dao;

import com.hwua.domain.Dvd;

import java.sql.SQLException;
import java.util.List;

/**
 * @author Administrator
 */
public interface IDvdDao {
    /**
     * 向数据库添加一张DVD
     */
    public boolean addDvd(Dvd dvd) throws SQLException;

    /**
     * 获取所有DVD
     */
    public List<Dvd> getAllDvd() throws SQLException;
}
